Explicit Fusions: Theory and Implementation

نویسنده

  • Lucian Wischik
چکیده

This work describes a concurrent, distributed abstract machine for the pi calculus. Its primary audience are researchers in the field of concurrency. The secondary audience are working programmers looking for a better way to write interactive programs. This audience need only read Chapters 1 (an overview) and 5 (the implementation). I hope that these chapters might prove appealing to students wishing to implement the pi calculus, perhaps as a course project. The pi calculus of Milner, Parrow and Walker [47] is a widely studied formalism for describing interactive and concurrent systems. Its basic mechanism is synchronous message-passing over a channel: (1) One program signals its readiness to transmit some data over a channel; (2) Another program signals its readiness to receive over that channel; (3) When it has been established that two programs are ready to communicate, they do. I introduce a new model for synchronous rendezvous—using explicit fusions. ‘Fusion’ means that, during communication, the data is temporarily shared between the two participating programs. ‘Explicit’ means that this fusion can persist in the program, allowing us to delay and control the effect of the communication. In this sense, explicit fusions do for the pi calculus what the explicit substitutions of Abadi, Cardelli, Curien and Lévy [1] do for the lambda calculus. The dissertation has two halves: theory and implementation. The theory introduces the explicit fusion calculus—a variant of the pi calculus that includes explicit fusions. I study its bisimulation, and relate it to the fusion calculus of Victor and Parrow [52], the chi calculus of Fu [21] and Sangiorgi’s open bisimulation for the pi calculus [59]. Fusions, although not explicit ones, were initially and independently discovered by Victor and Parrow and by Fu. A picalculus term called an equator, introduced by Honda and Yoshida [31], behaves like an explicit fusion up to weak bisimulation. Merro [40] has studied the connection between equators and the fusion calculus; I study their connection with explicit fusions. Some of the work here has already been published by Gardner and Wischik [25]. The implementation involves a distributed abstract machine for both the pi calculus and the explicit fusion calculus. I introduce a technique called fragmentation which leads to more efficient operation of the machine, and show how fragmentation can be encoded in the explicit fusion calculus. This fragmentation is similar to the solos calculus of Laneve, Victor and Parrow [34], in that it does not use syntactic guards. Now there have been implementations of the pi calculus before: PICT by Pierce is the best known; Squeak [11] based on a paper by Cardelli [9]; Facile [26]; and the Join Calculus [17] by Fournet, Lévy and others. What distinguishes my work is that it is an distributed virtual machine for the pi calculus which implements synchronous rendezvous without handshaking. The others implementations are either not distributed (PICT, Squeak), or use handshaking (Facile), or do not implement the pi calculus (Join). I discuss optimisations for when various agents share the same address space. In the limiting case when the entire program occupies just a single address space, my implementation becomes essentially the same as PICT and Squeak. Parts of Chapters 3 and 4 restate existing work [25], done in collaboration with my supervisor Philippa Gardner. She has also contributed thorough proofreading. The machine calculus in Chapter 6 has been improved through the help of her and Cosimo Laneve.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An Efficient Implementation of Phase Field Method with Explicit Time Integration

The phase field method integrates the Griffith theory and damage mechanics approach to predict crack initiation, propagation, and branching within one framework. No crack tracking topology is needed, and complex crack shapes can be captures without user intervention. In this paper, a detailed description of how the phase field method is implemented with explicit dynamics into LS-DYNA is provide...

متن کامل

Explicit Fusions

We introduce explicit fusions of names. An explicit fusion is a process that exists concurrently with the rest of the system and enables two names to be used interchangeably. Explicit fusions provide a small-step account of reaction in process calculi such as the pi calculus and the fusion calculus. In this respect they are similar to the explicit substitutions of Abadi, Cardelli and Curien, wh...

متن کامل

The Fusion Machine

We present a new model for the distributed implementation of pilike calculi. This model is a close match to a variety of calculi, and so permits strong correctness results that are easy to prove. In particular, we describe a distributed abstract machine called the fusion machine. In it, only channels exist at runtime. It uses a form of concurrent constraints called fusions—equations on channel ...

متن کامل

Singular Vectors by Fusions in A ( 1 ) 1

Explicit expressions for the singular vectors in the highest weight representations of A (1) 1 are obtained using the fusion formalism of conformal field theory.

متن کامل

The Effects of Systemic-Theoretical Instruction on Developing Iranian EFL Learners’ Explicit and Implicit Knowledge of Tense-Aspect System

This study aimed to investigate the effects of Systemic Theoretical Instruction (STI), grounded in Socio-cultural Theory and proposed by Gal’perin, on developing Iranian EFL learners’ knowledge of English tense-aspect system. To this end, two low-intermediate classes, including 24 and 21 language learners aged between 12-19, were taught the distinction between simple past and present perfect te...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2001